package supermarket;

//商城的类
public class SuperMarket {
    //超市的名称
    public String marketName;

    //商品的信息
    //一堆商品
    public Goods[] goodsList;

    //超市的会员
    public Member[] members;


    //get 和set 方法 用于设置获取 类中的属性

    public void setMarketName(String name) {
        this.marketName = name;
    }

    public String getMarketName() {
        return marketName;
    }

    public Goods[] getGoodsList() {
        return goodsList;
    }

    public void setGoodsList(Goods[] goodsList) {
        this.goodsList = goodsList;
    }

    public Member[] getMembers() {
        return members;
    }

    public void setMembers(Member[] members) {
        this.members = members;
    }
}
